import { importFile, requestJson } from "@/services";
export function addTarget(formData) {
  formData.msg_id = "1029";
  return importFile(formData);
}

export function getStaffList(params) {
  params = {
    ...params,
    fuzzy_key: "",
    msg_id: "1035",
  }
  return requestJson(params)
}

export function deleteStaffList(params) {
    params.msg_id="1044"
    return requestJson(params)
}

export function exportStaffList(params) {
    params.msg_id="1041"
    return requestJson(params)
}

export function exportBatchStaffList(params={}) {
    params.msg_id="1038"
    return requestJson(params)
}

export function uploadFileBatch(formData = {}) {
  formData.msg_id = "1030";
  return importFile(formData);
}

export function editStaff(formData = {}) {
  formData.msg_id = "1033";
  return requestJson(formData);
}